package Work0513;

public class ProcedureTest {

	public static void main(String[] args) {
		Procedure test = new Procedure("Photoshop");
		Diagram a = new Triangle(3, 4, 5);
		test.getLength(a);
		test.getArea(a);
		System.out.println(">>>>>>>>>>>>>>>>>>>>>>>");
		Diagram b = new Rectangle(1, 11);
		test.getLength(b);
		test.getArea(b);
		System.out.println(">>>>>>>>>>>>>>>>>>>>>>>");
		Diagram c = new Roundness(3);
		test.getLength(c);
		test.getArea(c);
	}

}
